<style type="text/css" scoped="scoped">

</style>
<script type="text/javascript">
    var service = longController.createService('${base}${ckey}');
    service.fleshList = function () {
        LC.goPage(LC.S.serviceUrl + LC.S.URL_LIST, '.pannelList');
    }
    service.tools.toolSaveNew.callback = function (rs) {
        LC.S.fleshList();
        LC.S.tools.toolNew.click();
    };
    service.tools.toolSave.callback = function (rs) {
        LC.S.fleshList();
        LC.goPage(LC.S.serviceUrl + LC.S.URL_DETAIL, LC.S.PANNEL_DETAIL, [{name: 'id', value: rs.id}]);
    };
    LC.attach('${ckey}', service);
    $(document).ready(function (e) {
        LC.S.fleshList();
    });
</script>
<br/>

[@com.toolbar /]
<div class="col-sm-4 dictionaryLeft pannelList"></div>
<div class="col-sm-8 dictionaryRight pannelAdd pannelDetail">
    [#include "add.ftl" /]
</div>
<div class="clear"></div>